package akaram.claws.story;

/**
 * 
 * This class represent the basic unit of execution on the Claws Virtual Machine
 * 
 * @author Johan
 *
 */
public class ClawsEntity {
	
	/** Type */
	private byte type;
	
	/** General type */
	final public byte UNKNOWN = 0;

	public byte getType() {
		return type;
	}

	public void setType(byte type) {
		this.type = type;
	}
	
	public byte[] serialize()
	{
		byte[] result = new byte[1];
		
		result[1] = type;
		
		return result;
	}

}
